Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / C1TreeDataCollection<T> Class / C1TreeDataCollection<T> Constructor / C1TreeDataCollection<T> Constructor(IEnumerable,String)
The source from which the tree is built.
The path property of the items of type T

In This Topic
    C1TreeDataCollection<T> Constructor(IEnumerable,String)
    In This Topic
    Initializes a new instance of the C1TreeDataCollection<T> class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal source As IEnumerable, _
       ByVal childrenPath As String _
    )
    public C1TreeDataCollection<T>( 
       IEnumerable source,
       string childrenPath
    )

    Parameters

    source
    The source from which the tree is built.
    childrenPath
    The path property of the items of type T
    See Also